<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
		<title>Hello World Title </title>
	</head>
	<body>
		<!-- bootstrap -->
		<table border="1">
			<tr>
				<td><a href="javascript:void(0)" onClick="changeImage('pic1.jpg')">PIC1</a></td>				
			</tr>
			<tr>
				<td><a href="javascript:void(0)" onClick="changeImage('pic2.jpg')">PIC2</a></td>				
			</tr>
			<tr>
				<td><a href="javascript:void(0)" onClick="changeImage('pic3.jpg')">PIC3</a></td>				
			</tr>
		</table>
		<img id="pic" src="img/pic1.jpg">
		<script type="text/javascript">
			function changeImage(pic){
				var picUrl="img/"+pic;
				var img=document.getElementById("pic");
				//console.log(picUrl);
				//console.log(img);
				img.src=picUrl;
			}
		</script>
	</body>
</html>
	